// < ![CDATA[
document.write('<div class="box-member" style="display: block;height: auto;overflow: hidden;position: relative;width: 100%;"><div class="box-inner-member" style="display: block;height: auto;overflow: hidden;position: relative;width: 100%;">');
if (!Array.indexOf) {
    Array.prototype.indexOf = function (a) {
        for (var i = 0; i < this.length; i++) if (this[i] == a) return i;
        return -1
    }
}function replaceTopCmtVars(a, b, c) {
    if (!b || !b.author) return a;
    var d = b.author;
    var e = "";
    if (d.uri && d.uri.$t != "") e = d.uri.$t;
    var f = urlAnoAvatar;
    var g = "http://www.blogger.com/profile/";
    if (d.gd$image && d.gd$image.src && e.substr(0, g.length) == g) {
        f = d.gd$image.src
    } else {
        var h = document.createElement('a');
        if (e != "") {
            h.href = e;
            f = 'http://www.google.com/s2/favicons?domain=' + h.hostname
        }
    }
    if (urlMyProfile != "" && e == urlMyProfile && urlMyAvatar != "") f = urlMyAvatar;
    if (f == "http://img2.blogblog.com/img/b16-rounded.gif" && urlNoAvatar != "") f = urlNoAvatar;
    var i = "s" + sizeAvatar;
    f = f.replace(/\/s\d\d+-c\//, "/" + i + "-c/");
    if (cropAvatar) i += "-c";
    f = f.replace(/\/s\d\d+(-c){0,1}\//, "/" + i + "/");
    var j = d.name.$t;
    if (j == 'Anonymous' && txtAnonymous != '' && f == urlAnoAvatar) j = txtAnonymous;
    var k = '<div class="cm-person"><img class="top-commenter-avatar" height="' + sizeAvatar + '" width="' + sizeAvatar + '" src="' + f + '" />';
    if (e != "") k = '<a href="' + e + '">' + k + '</a>';
    if (maxUserNameLength > 3 && j.length > maxUserNameLength) j = j.substr(0, maxUserNameLength - 3) + "...";
    var l = j;
    if (e != "") l = '<a class="profile-name-link item' + c + '" href="' + e + '" title="' + c + '. ' + j + '">' + b.count + '</a>' + j.substring(0, 14) + '</div>';
    a = a.replace('[user]', l);
    a = a.replace('[image]', k);
    a = a.replace('[count]', b.count);
    return a
}
var topcommenters = {};
var ndxbase = 1;

function showTopCommenters(c) {
    var d = 1000 * 60 * 60 * 24;
    var e = new Date();
    if (urlMyProfile == "") {
        var f = document.getElementsByTagName("*");
        var g = /(^| )profile-link( |$)/;
        for (var i = 0; i < f.length; i++) if (g.test(f[i].className)) {
            urlMyProfile = f[i].href;
            break
        }
    }
    for (var i = 0; i < c.feed.entry.length; i++) {
        var h = c.feed.entry[i];
        if (numDays > 0) {
            var j = h.published.$t.match(/\d+/
            g);
            var k = new Date(j[0], j[1] - 1, j[2], j[3], j[4], j[5]);
            var l = Math.ceil((e.getTime() - k.getTime()) / (d));
            if (l > numDays) break
        }
        var m = "";
        if (h.author[0].uri && h.author[0].uri.$t != "") m = h.author[0].uri.$t;
        if (excludeMe && m != "" && m == urlMyProfile) continue;
        var n = h.author[0].name.$t;
        if (excludeUsers.indexOf(n) != -1) continue;
        var o = h.author[0].name.$t + "-" + m;
        if (topcommenters[o]) topcommenters[o].count++;
        else {
            var p = new Object();
            p.author = h.author[0];
            p.count = 1;
            topcommenters[o] = p
        }
    }
    if (c.feed.entry.length > 200) {
        ndxbase += 200;
        document.write('<script type="text/javascript" src="' + homepage + '/feeds/comments/default?redirect=false&max-results=200&start-index=' + ndxbase + '&alt=json-in-script&callback=showTopCommenters"></' + 'script>');
        return
    }
    var q = [];
    for (var r in topcommenters) q.push([r, topcommenters[r]]);
    q.sort(function (a, b) {
        if (b[1].count - a[1].count) return b[1].count - a[1].count;
        return (a[1].author.name.$t.toLowerCase() < b[1].author.name.$t.toLowerCase()) ? -1 : 1
    });
    var s = 0;
    for (var i = 0; i < maxTopCommenters && i < q.length; i++) {
        var t = q[i][1];
        if (t.count < minComments) break;
        document.write(replaceTopCmtVars(txtTopLine, t, s + 1));
        s++
    }
    if (!s) document.write(txtNoTopCommenters)
}
document.write('<script type="text/javascript" src="' + homepage + '/feeds/comments/default?redirect=false&max-results=200&alt=json-in-script&callback=showTopCommenters"></' + 'script>'); document.write('</div><div style="clear:both;display:block;float:left;">&#160;</div><div class="created" style="bottom: 0;position: absolute;left: 0;"></div></div>');